#!/bin/bash
set -e
# 进入建木共享目录中
cd ${JM_SHARE_DIR}
# git clone拉取代码
git clone ${JIANMU_CODE_URL}
echo ">>>>>>>>>>>> 代码目录 <<<<<<<<<<<<"
ls
# 输出结果文件
echo "resultFile:"
echo -e "{\"code_path\":\"${JM_SHARE_DIR}\",\"name\":\"imagewq\"}" > resultFile
mv resultFile /usr

cat /usr/resultFile
